package com.kingdee.eas.custom.hostelmgr.personrating;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class PersonRatingCollection extends AbstractObjectCollection 
{
    public PersonRatingCollection()
    {
        super(PersonRatingInfo.class);
    }
    public boolean add(PersonRatingInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(PersonRatingCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(PersonRatingInfo item)
    {
        return removeObject(item);
    }
    public PersonRatingInfo get(int index)
    {
        return(PersonRatingInfo)getObject(index);
    }
    public PersonRatingInfo get(Object key)
    {
        return(PersonRatingInfo)getObject(key);
    }
    public void set(int index, PersonRatingInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(PersonRatingInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(PersonRatingInfo item)
    {
        return super.indexOf(item);
    }
}